Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable errname linter #394

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Jan 15, 2025

This enforces errors end with "Error" as per Go convention - the only violation we have of this is with extracttest.ContainsErrStr which we could rename, but (if my understanding is correct) it's not really an error in the traditional sense so I think it makes sense to skip that one.

In future if we find ourselves adding more "test errors", we can configure golangci to skip this whole file

Relates to #274

@G-Rath G-Rath mentioned this pull request Jan 15, 2025
46 tasks
@copybara-service copybara-service bot merged commit 5ea8a02 into google:main Jan 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants